package com.example.wxy.bbtapp.Models.CourseRecord;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by yons on 2017/9/9.
 */
@Table(name = "CourseRecord")
public class CourseRecord {


    public  CourseRecord()
    {
        this.setScreenRecords(new ArrayList<ScreenshotRecord>());
    }

    /// <summary>
    /// 主键ID
    /// </summary>
    @Column(name = "ID",isId = true)
    public int ID;
    /// <summary>
    /// 学校ID
    /// </summary>
    @Column(name = "ISchoolIDD")
    public String SchoolID;

    /// <summary>
    /// 设备ID
    /// </summary>
    @Column(name = "ComputerID")
    public String ComputerID;
    /// <summary>
    /// 教室ID
    /// </summary>
    @Column(name = "ClassRoomID")
    public String ClassRoomID;
    /// 使用日期
    /// </summary>
    @Column(name = "UseDate")
    public String UseDate;
    /// <summary>
    /// 星期
    /// </summary>
    @Column(name = "WeekIndex")
    public int WeekIndex;
    /// <summary>
    /// 课节
    /// </summary>
    @Column(name = "CourseIndex")
    public int CourseIndex;
    /// <summary>
    /// 创建时间
    /// </summary>
    @Column(name = "CreateDate")
    public String CreateDate;
    /// <summary>
    /// 修改时间
    /// </summary>
    @Column(name = "ModifyDate")
    public String ModifyDate;
    /// <summary>
    /// 有效分钟
    /// </summary>
    @Column(name = "EffectiveHours")
    public double EffectiveHours;
    /// <summary>
    /// 提交时间
    /// </summary>
    @Column(name = "SubmitDate")
    public String SubmitDate;

    /// <summary>
    /// 登陆时间
    /// </summary>
    @Column(name = "LoginTime")
    public String LoginTime;

    public String getDeviceID() {
        return DeviceID;
    }

    public void setDeviceID(String deviceID) {
        DeviceID = deviceID;
    }

    @Column(name = "DeviceID")
    public String DeviceID;

    public int getCStatus() {
        return CStatus;
    }

    public void setCStatus(int CStatus) {
        this.CStatus = CStatus;
    }

    //是否正常上传，0正常， 1不正常
    @Column(name = "CStatus")
    public int CStatus=0;

    /// <summary>
    /// 登出时间
    /// </summary>
    @Column(name = "LogoutTime")
    public String LogoutTime;
    @Column(name = "BeginTime")
    public Date BeginTime;
    @Column(name = "EndTime")
    public Date EndTime;

    public List<ScreenshotRecord> getScreenRecords() {
        return ScreenRecords;
    }

    public List<ProcessRecord> getProcessRecords() {
        return ProcessRecords;
    }

    public void setProcessRecords(List<ProcessRecord> processRecords) {
        ProcessRecords = processRecords;
    }

    public  List<ProcessRecord> ProcessRecords = new ArrayList<ProcessRecord>();

    public void setScreenRecords(List<ScreenshotRecord> screenRecords) {
        ScreenRecords = screenRecords;
    }

    public List<ScreenshotRecord> ScreenRecords = new ArrayList<ScreenshotRecord>();


    public Date getBeginTime() {
        return BeginTime;
    }

    public void setBeginTime(Date beginTime) {
        BeginTime = beginTime;
    }

    public Date getEndTime() {
        return EndTime;
    }

    public void setEndTime(Date endTime) {
        EndTime = endTime;
    }
/// <summary>

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getSchoolID() {
        return SchoolID;
    }

    public void setSchoolID(String schoolID) {
        SchoolID = schoolID;
    }

    public String getComputerID() {
        return ComputerID;
    }

    public void setComputerID(String computerID) {
        ComputerID = computerID;
    }

    public String getClassRoomID() {
        return ClassRoomID;
    }

    public void setClassRoomID(String classRoomID) {
        ClassRoomID = classRoomID;
    }

    public String getUseDate() {
        return UseDate;
    }

    public void setUseDate(String useDate) {
        UseDate = useDate;
    }

    public int getWeekIndex() {
        return WeekIndex;
    }

    public void setWeekIndex(int weekIndex) {
        WeekIndex = weekIndex;
    }

    public int getCourseIndex() {
        return CourseIndex;
    }

    public void setCourseIndex(int courseIndex) {
        CourseIndex = courseIndex;
    }

    public String getCreateDate() {
        return CreateDate;
    }

    public void setCreateDate(String createDate) {
        CreateDate = createDate;
    }

    public String getModifyDate() {
        return ModifyDate;
    }

    public void setModifyDate(String modifyDate) {
        ModifyDate = modifyDate;
    }

    public double getEffectiveHours() {
        return EffectiveHours;
    }

    public void setEffectiveHours(double effectiveHours) {
        EffectiveHours = effectiveHours;
    }

    public String getSubmitDate() {
        return SubmitDate;
    }

    public void setSubmitDate(String submitDate) {
        SubmitDate = submitDate;
    }

    public String getLoginTime() {
        return LoginTime;
    }

    public void setLoginTime(String loginTime) {
        LoginTime = loginTime;
    }

    public String getLogoutTime() {
        return LogoutTime;
    }

    public void setLogoutTime(String logoutTime) {
        LogoutTime = logoutTime;
    }

}
